package com.wjh.service;

import com.wjh.anno.HService;
import com.wjh.aware.BeanNameAware;
import sun.awt.windows.WPrinterJob;

@HService
public class UserService implements IUserService, BeanNameAware {
    @Override
    public void say() {
//        System.out.println("hello");
        System.out.println(beanName);
    }
private String beanName;
    @Override
    public void setBeanName(String name) {
        this.beanName = beanName;
    }

}
